*{
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;

    background: url("../img/bg.jpg");
    background-size: cover;
}


#bg-loading{
    width: 100%;
    height: 100%;

    /*background: url("../img/bg0.jpg") no-repeat center center;*/
    /*background-size: 100% auto;*/

    background: url("../img/bg0.jpg") no-repeat center center;
    background-size: cover;

    visibility: hidden;
}
.spinner {

    margin: 0;
    width: 200px;
    height: 100px;
    text-align: center;

    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%,-60%);
}

.spinner > div {
    width: 50px;
    height: 50px;
    background-color: white;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 40% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
}


.canvas{
    width: 100%;
    height:100%;

    background: none;

    /*background: -webkit-linear-gradient(top, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);*/
    /*background: -moz-linear-gradient(top, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);*/
    /*background: -o-linear-gradient(top, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);*/
    /*background: -ms-linear-gradient(top, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);*/
    /*background: linear-gradient(top, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);*/

    position:absolute;
    top: 0;
    left: 0;
}

/*右上角帮助按钮*/
.help {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 13px;
    line-height: 27px;
    font-weight: bold;
    cursor: pointer;
    color: #79a8ae;
    opacity: .9;

    -webkit-transition: opacity 0.1s cubic-bezier(0.694, 0.0482, 0.335, 1);
    -moz-transition: opacity 0.1s cubic-bezier(0.694, 0.0482, 0.335, 1);
    -ms-transition: opacity 0.1s cubic-bezier(0.694, 0.0482, 0.335, 1);
    -o-transition: opacity 0.1s cubic-bezier(0.694, 0.0482, 0.335, 1);
    transition: opacity 0.1s cubic-bezier(0.694, 0.0482, 0.335, 1);
}

.help:hover {
    opacity: 1;
}
/*帮助按钮点击弹出的遮罩层*/
.overlay {
    visibility: hidden;

    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 250px;
    margin: -50px;
    opacity: 0;

    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg);

    background:none;
}

.overlay--visible {
    opacity: 1;

    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

/*文本输入*/
.ui-input {
    display: none;
    width: 0;
    height:0;
}

/*音乐旋转按钮父元素*/
#div1 {
     visibility: hidden;
     width: 100%;
     height:100%;

    background: url("../img/bg3.jpg");
    background-size: cover;

     position:absolute;
     top: 0;
     left: 0;
}


/*音乐旋转按钮*/
.button-click{
    width: 100%;
    z-index: 2;
    animation:myfirst 5s linear infinite;
    -webkit-animation:myfirst 5s
    linear infinite;
    animation-play-state:running;
    -webkit-animation-play-state:running;
    }

/*.roate-img:hover {*/
    /*animation-play-state:paused;*/
    /*-webkit-animation-play-state:paused;*/
/*}*/

@keyframes myfirst {
    0% {transform:rotate(0deg);}
    100% {transform:rotate(360deg);}
}
@-webkit-keyframes myfirst {
    0% {transform:rotate(0deg);}
    100% {transform:rotate(360deg);}
}
.fixed_0 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}
